<?php

include_once ('com/alibaba/openapi/client/entity/SDKDomain.class.php');
include_once ('com/alibaba/openapi/client/entity/ByteArray.class.php');

class ComAlibabaOceanOpenplatformBizTradeCommonModelTradeService extends SDKDomain {

       	
    private $sourceType;
    
        /**
    * @return 源类型
    */
        public function getSourceType() {
        return $this->sourceType;
    }
    
    /**
     * 设置源类型     
     * @param String $sourceType     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setSourceType( $sourceType) {
        $this->sourceType = $sourceType;
    }
    
        	
    private $serviceType;
    
        /**
    * @return 服务类型
    */
        public function getServiceType() {
        return $this->serviceType;
    }
    
    /**
     * 设置服务类型     
     * @param String $serviceType     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setServiceType( $serviceType) {
        $this->serviceType = $serviceType;
    }
    
        	
    private $sourceId;
    
        /**
    * @return 源id
    */
        public function getSourceId() {
        return $this->sourceId;
    }
    
    /**
     * 设置源id     
     * @param String $sourceId     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setSourceId( $sourceId) {
        $this->sourceId = $sourceId;
    }
    
        	
    private $title;
    
        /**
    * @return 名称
    */
        public function getTitle() {
        return $this->title;
    }
    
    /**
     * 设置名称     
     * @param String $title     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setTitle( $title) {
        $this->title = $title;
    }
    
        	
    private $unitPrice;
    
        /**
    * @return 单位价格
    */
        public function getUnitPrice() {
        return $this->unitPrice;
    }
    
    /**
     * 设置单位价格     
     * @param Long $unitPrice     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setUnitPrice( $unitPrice) {
        $this->unitPrice = $unitPrice;
    }
    
        	
    private $quantity;
    
        /**
    * @return 数量
    */
        public function getQuantity() {
        return $this->quantity;
    }
    
    /**
     * 设置数量     
     * @param Double $quantity     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setQuantity( $quantity) {
        $this->quantity = $quantity;
    }
    
        	
    private $serviceTips;
    
        /**
    * @return 服务tip
    */
        public function getServiceTips() {
        return $this->serviceTips;
    }
    
    /**
     * 设置服务tip     
     * @param String $serviceTips     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setServiceTips( $serviceTips) {
        $this->serviceTips = $serviceTips;
    }
    
        	
    private $serviceUrl;
    
        /**
    * @return 服务url
    */
        public function getServiceUrl() {
        return $this->serviceUrl;
    }
    
    /**
     * 设置服务url     
     * @param String $serviceUrl     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setServiceUrl( $serviceUrl) {
        $this->serviceUrl = $serviceUrl;
    }
    
        	
    private $groupTitle;
    
        /**
    * @return 组名称
    */
        public function getGroupTitle() {
        return $this->groupTitle;
    }
    
    /**
     * 设置组名称     
     * @param String $groupTitle     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setGroupTitle( $groupTitle) {
        $this->groupTitle = $groupTitle;
    }
    
        	
    private $groupCode;
    
        /**
    * @return 组code
    */
        public function getGroupCode() {
        return $this->groupCode;
    }
    
    /**
     * 设置组code     
     * @param String $groupCode     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setGroupCode( $groupCode) {
        $this->groupCode = $groupCode;
    }
    
        	
    private $sponsorDesc;
    
        /**
    * @return 描述
    */
        public function getSponsorDesc() {
        return $this->sponsorDesc;
    }
    
    /**
     * 设置描述     
     * @param String $sponsorDesc     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setSponsorDesc( $sponsorDesc) {
        $this->sponsorDesc = $sponsorDesc;
    }
    
        	
    private $code;
    
        /**
    * @return code
    */
        public function getCode() {
        return $this->code;
    }
    
    /**
     * 设置code     
     * @param String $code     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setCode( $code) {
        $this->code = $code;
    }
    
        	
    private $extMapStr;
    
        /**
    * @return 扩展信息
    */
        public function getExtMapStr() {
        return $this->extMapStr;
    }
    
    /**
     * 设置扩展信息     
     * @param String $extMapStr     
     * 参数示例：<pre>''</pre>     
     * 此参数必填     */
    public function setExtMapStr( $extMapStr) {
        $this->extMapStr = $extMapStr;
    }
    
    	
	private $stdResult;
	
	public function setStdResult($stdResult) {
		$this->stdResult = $stdResult;
					    			    			if (array_key_exists ( "sourceType", $this->stdResult )) {
    				$this->sourceType = $this->stdResult->{"sourceType"};
    			}
    			    		    				    			    			if (array_key_exists ( "serviceType", $this->stdResult )) {
    				$this->serviceType = $this->stdResult->{"serviceType"};
    			}
    			    		    				    			    			if (array_key_exists ( "sourceId", $this->stdResult )) {
    				$this->sourceId = $this->stdResult->{"sourceId"};
    			}
    			    		    				    			    			if (array_key_exists ( "title", $this->stdResult )) {
    				$this->title = $this->stdResult->{"title"};
    			}
    			    		    				    			    			if (array_key_exists ( "unitPrice", $this->stdResult )) {
    				$this->unitPrice = $this->stdResult->{"unitPrice"};
    			}
    			    		    				    			    			if (array_key_exists ( "quantity", $this->stdResult )) {
    				$this->quantity = $this->stdResult->{"quantity"};
    			}
    			    		    				    			    			if (array_key_exists ( "serviceTips", $this->stdResult )) {
    				$this->serviceTips = $this->stdResult->{"serviceTips"};
    			}
    			    		    				    			    			if (array_key_exists ( "serviceUrl", $this->stdResult )) {
    				$this->serviceUrl = $this->stdResult->{"serviceUrl"};
    			}
    			    		    				    			    			if (array_key_exists ( "groupTitle", $this->stdResult )) {
    				$this->groupTitle = $this->stdResult->{"groupTitle"};
    			}
    			    		    				    			    			if (array_key_exists ( "groupCode", $this->stdResult )) {
    				$this->groupCode = $this->stdResult->{"groupCode"};
    			}
    			    		    				    			    			if (array_key_exists ( "sponsorDesc", $this->stdResult )) {
    				$this->sponsorDesc = $this->stdResult->{"sponsorDesc"};
    			}
    			    		    				    			    			if (array_key_exists ( "code", $this->stdResult )) {
    				$this->code = $this->stdResult->{"code"};
    			}
    			    		    				    			    			if (array_key_exists ( "extMapStr", $this->stdResult )) {
    				$this->extMapStr = $this->stdResult->{"extMapStr"};
    			}
    			    		    		}
	
	private $arrayResult;
	public function setArrayResult($arrayResult) {
		$this->arrayResult = $arrayResult;
				    		    			if (array_key_exists ( "sourceType", $this->arrayResult )) {
    			$this->sourceType = $arrayResult['sourceType'];
    			}
    		    	    			    		    			if (array_key_exists ( "serviceType", $this->arrayResult )) {
    			$this->serviceType = $arrayResult['serviceType'];
    			}
    		    	    			    		    			if (array_key_exists ( "sourceId", $this->arrayResult )) {
    			$this->sourceId = $arrayResult['sourceId'];
    			}
    		    	    			    		    			if (array_key_exists ( "title", $this->arrayResult )) {
    			$this->title = $arrayResult['title'];
    			}
    		    	    			    		    			if (array_key_exists ( "unitPrice", $this->arrayResult )) {
    			$this->unitPrice = $arrayResult['unitPrice'];
    			}
    		    	    			    		    			if (array_key_exists ( "quantity", $this->arrayResult )) {
    			$this->quantity = $arrayResult['quantity'];
    			}
    		    	    			    		    			if (array_key_exists ( "serviceTips", $this->arrayResult )) {
    			$this->serviceTips = $arrayResult['serviceTips'];
    			}
    		    	    			    		    			if (array_key_exists ( "serviceUrl", $this->arrayResult )) {
    			$this->serviceUrl = $arrayResult['serviceUrl'];
    			}
    		    	    			    		    			if (array_key_exists ( "groupTitle", $this->arrayResult )) {
    			$this->groupTitle = $arrayResult['groupTitle'];
    			}
    		    	    			    		    			if (array_key_exists ( "groupCode", $this->arrayResult )) {
    			$this->groupCode = $arrayResult['groupCode'];
    			}
    		    	    			    		    			if (array_key_exists ( "sponsorDesc", $this->arrayResult )) {
    			$this->sponsorDesc = $arrayResult['sponsorDesc'];
    			}
    		    	    			    		    			if (array_key_exists ( "code", $this->arrayResult )) {
    			$this->code = $arrayResult['code'];
    			}
    		    	    			    		    			if (array_key_exists ( "extMapStr", $this->arrayResult )) {
    			$this->extMapStr = $arrayResult['extMapStr'];
    			}
    		    	    		}
 
   
}
?>